package com.ziyucoding.minispring.beans.factory;

import com.ziyucoding.minispring.beans.BeansException;
import com.ziyucoding.minispring.beans.factory.config.BeanDefinition;

/**
 * Bean 工厂
 *
 * @author ziyucoding
 * @date 2023-05-08
 **/
public interface BeanFactory {

    Object getBean(String beanName) throws BeansException;

    void registerBeanDefinition(BeanDefinition beanDefinition);
}
